package br.com.vm.model.base;

import java.io.Serializable;

import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class Base implements Serializable {

	private static final long serialVersionUID = 4567884723059482926L;

	/**
	 * Resgata o ID.
	 * 
	 * @return Long.
	 */
	public abstract Serializable getId();

	/**
	 * Metodo sobrescrito equals.
	 * 
	 * @param obj
	 *            .
	 * @return boolean.
	 */
	@Override
	public abstract boolean equals(Object obj);

	/**
	 * Metodo sobrescrito hashcode.
	 * 
	 * @return int.
	 */
	@Override
	public abstract int hashCode();
}
